package com.cmc6.websocket.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cmc6.common.model.dto.ChangeByteById;
import com.cmc6.common.model.dto.ChangeByteDTO;
import com.cmc6.websocket.model.dto.SocketPageDTO;
import com.cmc6.websocket.model.vo.SocketPageVO;
import com.cmc6.websocket.model.vo.SocketRegVO;
import io.netty.channel.Channel;

public interface WebSocketHelperService {

    void handleSocketEvent(Long socketId, Channel channel);

    SocketRegVO reg(ChangeByteDTO changeByteDTO);

    Page<SocketPageVO> myPage(SocketPageDTO dto);

    String changeType(ChangeByteById changeByteById);

}
